package cn.tedu.store.mapper;

import cn.tedu.store.entity.LisTestReg;
import cn.tedu.store.entity.dto.LisTestRegDto;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @BelongsProject: zhijiang_hesuan_test
 * @BelongsPackage: com.zhijiang.hospital.mapper
 * @Author: JunFu
 * @CreateTime: 2022-08-28  17:58
 * @Description: TODO
 * @Version: 1.0
 */
@DS("master")
@Mapper
public interface PeoPleLisTestRegMapper extends BaseMapper<LisTestRegDto> {

    List<LisTestRegDto> findPeoPleHospitalHeShuanResult(LisTestRegDto lisTestRegDto);

    List<LisTestRegDto>  findPhoneByIdEnNo(String idEnNo);

    List<LisTestRegDto>  findOnlyPeoPleHospitalHeShuanResult(LisTestRegDto lisTestRegDto);

    List<LisTestRegDto> findResult(String idEnNo);

    List<LisTestRegDto> findPeoPleResults(LisTestRegDto peopleLisTestRegDto);
    LisTestReg selcetOneReg(@Param("idenno") String idenno, @Param("barcode") String barcode);

    List<LisTestRegDto> findNucleicAcidState(LisTestRegDto lisTestRegDto);
}
